package com.antis.olsl.magic.rank.detail;

import com.antis.olsl.base.BasePresenter;
import com.antis.olsl.base.BaseView;
import com.antis.olsl.library.response.SalesroomOrWarehouseInfo;

import java.util.List;
import java.util.Map;

public class CommodityDetailContract {

    interface Presenter extends BasePresenter {
        void takeView(CommodityDetailContract.View view);

        void getSalesroomInfoList(Map<String, Object> map);
    }

    interface View extends BaseView<Presenter> {
        void getSalesroomInfoListSuccess(List<SalesroomOrWarehouseInfo> list);

        void getSalesroomInfoListFailure(String msg);
    }
}
